//
//  RecordCell.m
//  Qihuo
//
//  Created by Vencoo on 14-1-13.
//  Copyright (c) 2014年 Vencoo. All rights reserved.
//

#import "RecordCell.h"

@implementation RecordCell

- (id)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        _personLb = [UILabel new];
        _personLb.font = [UIFont systemFontOfSize:20];
        _personLb.textAlignment = 1;
        _personLb.frame = CGRectMake(0, 0, 80, self.frame.size.height);
        [self addSubview:_personLb];
        
        _timeLb = [UILabel new];
        _timeLb.font = [UIFont systemFontOfSize:20];
        CGSize size = [[NSString stringWithFormat:@"1111111111111111111"]sizeWithFont:_timeLb.font constrainedToSize:CGSizeMake(MAXFLOAT, 40)];
        _timeLb.frame = CGRectMake(120, 0, size.width, self.frame.size.height);
        [self addSubview:_timeLb];
        
        _placeLb = [UILabel new];
        _placeLb.font = [UIFont systemFontOfSize:20];
        _placeLb.textAlignment = 1;
        _placeLb.frame = CGRectMake(420, 0, 120, self.frame.size.height);
        [self addSubview:_placeLb];
    }
    return self;
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated
{
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
